﻿using System.Xml;

namespace RDPManager
{
    class SingleConfig
    {
        // 连接名
        public string Name;
        // 连接IP
        public string IP;
        // 连接用户名
        public string Username;
        // 连接密码
        public string Password;

        public void parse(XmlElement elem)
        {
            Name = elem.GetAttribute("name");
            IP = elem.GetAttribute("ip");
            Username = elem.GetAttribute("user");
            Password = elem.GetAttribute("password");
        }
    }
}
